package com.hkfg.service;

import com.hkfg.domain.Moment;

import java.util.List;


public interface MomentService {

    //传入username？
    public List<Moment> selectUserMoment(int receiverId);

    public int buildMoment(Moment moment);      //传入Moment

    public Moment getMomentById(int id);        //id是Moment的id

    public int modifyMoment(int id, String content);      //留言修改

    public  int deleteMomentById(int id);

}
